package com.chzu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author lz
 * @Version 1.0
 * @Company 滁州大健康与养老产业研究院
 * @ClassName ActivityInfo
 * @Description 活动信息实体类
 * @Date 2022/02/13 17:51
 */
@Data
public class ActivityInfo  implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("活动id")
    private String activityId;

    @ApiModelProperty("活动主题")
    private String theme;

    @ApiModelProperty("活动地点")
    private String location;

    @ApiModelProperty("参会人员")
    private String participants;

    @ApiModelProperty("活动流程")
    private String activityFlow;

    @ApiModelProperty("组织人员")
    private String organizationPersonnel;

    @ApiModelProperty("other")
    private String other;

    @ApiModelProperty("活动开始时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty("活动结束时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty("是否启用")
    @TableLogic(value = "1", delval = "0")
    private boolean status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
}
